mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Add config path to error msg
This commit is contained in:
parent
b5f34cc27d
commit
44ea92ea60
@ -407,8 +407,8 @@ bool read_config(FILE *file, struct sway_config *config) {
|
||||
switch(res->status) {
|
||||
case CMD_FAILURE:
|
||||
case CMD_INVALID:
|
||||
sway_log(L_ERROR, "Error on line %i '%s': %s", line_number, line,
|
||||
res->error);
|
||||
sway_log(L_ERROR, "Error on line %i '%s': %s (%s)", line_number, line,
|
||||
res->error, config->current_config);
|
||||
success = false;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user