Skip to content

Commit

Permalink
Change failed call to xsltproc to a warning
Browse files Browse the repository at this point in the history
Failing things must be logged as a warning because this might indicate
serious issues.
  • Loading branch information
bjoernricks committed Dec 6, 2021
1 parent 3b15a1d commit 44e52e7
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 44e52e7

Please sign in to comment.