Skip to content

Commit

Permalink
Fix log message not showing effect file name if the file was not found
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Nov 8, 2024
1 parent 0383fe5 commit 41000cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gs_effect_t *create_effect_from_module_file(const char *basename)
char *f = obs_module_file(basename);
gs_effect_t *effect = gs_effect_create_from_file(f, NULL);
if (!effect)
blog(LOG_ERROR, "Cannot load '%s'", f);
blog(LOG_ERROR, "Cannot load '%s' '%s'", basename, f);
bfree(f);
return effect;
}
Expand Down

0 comments on commit 41000cc

Please sign in to comment.