Add config path to error msg

master
Mikkel Oscar Lyderik 9 years ago
parent b5f34cc27d
commit 44ea92ea60

@ -407,8 +407,8 @@ bool read_config(FILE *file, struct sway_config *config) {
switch(res->status) { switch(res->status) {
case CMD_FAILURE: case CMD_FAILURE:
case CMD_INVALID: case CMD_INVALID:
sway_log(L_ERROR, "Error on line %i '%s': %s", line_number, line, sway_log(L_ERROR, "Error on line %i '%s': %s (%s)", line_number, line,
res->error); res->error, config->current_config);
success = false; success = false;
break; break;

Loading…
Cancel
Save