diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-11-08 08:25:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 08:25:26 -0600 |
| commit | d689ac95d053b0b0d60c0ceb882d10332a40a8cb (patch) | |
| tree | 2815c3d9eea7a9d27ca1e207c2879235232a7f18 /src/slskd/Integrations/Scripts/ScriptService.cs | |
| parent | fd179ee6c888f03ffe26288c906a53961808352f (diff) | |
| parent | e7aefd66f1992dcecd9454df0771e1f29fae2b1d (diff) | |
| download | slskd-d689ac95d053b0b0d60c0ceb882d10332a40a8cb.tar.gz | |
Merge branch 'master' into noop
Diffstat (limited to 'src/slskd/Integrations/Scripts/ScriptService.cs')
| -rw-r--r-- | src/slskd/Integrations/Scripts/ScriptService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index 48916b2d..227f2fb1 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -120,7 +120,7 @@ public class ScriptService } catch (Exception ex) { - Log.Warning(ex, "Failed to run script '{Script}': {Message}", script.Key, ex.Message); + Log.Warning(ex, "Failed to run script '{Script}' for event type {Event}: {Message}", script.Key, data.Type, ex.Message); } finally { @@ -130,7 +130,7 @@ public class ScriptService } catch (Exception ex) { - Log.Warning(ex, "Failed to clean up process started from script '{Script}': {Message}", script.Key, ex.Message); + Log.Warning(ex, "Failed to clean up process started from script '{Script}' for event type {Event}: {Message}", script.Key, data.Type, ex.Message); } } }); |
