Skip to content

Commit

Permalink
Add: Log failing xsltproc calls as warning #1756
Browse files Browse the repository at this point in the history
Change failed call to xsltproc to a warning
  • Loading branch information
bjoernricks authored Dec 6, 2021
2 parents 3b15a1d + 44e52e7 commit ef9b422
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -5374,11 +5374,11 @@ xsl_transform (gchar *stylesheet, gchar *xmlfile, gchar **param_names,
|| (WIFEXITED (exit_status) == 0)
|| WEXITSTATUS (exit_status))
{
g_debug ("%s: failed to transform the xml: %d (WIF %i, WEX %i)",
__func__,
exit_status,
WIFEXITED (exit_status),
WEXITSTATUS (exit_status));
g_warning ("%s: failed to transform the xml: %d (WIF %i, WEX %i)",
__func__,
exit_status,
WIFEXITED (exit_status),
WEXITSTATUS (exit_status));
g_debug ("%s: stderr: %s", __func__, standard_err);
g_debug ("%s: stdout: %s", __func__, standard_out);
success = FALSE;
Expand Down

0 comments on commit ef9b422

Please sign in to comment.