Skip to content

Commit

Permalink
Less spammy cmdpipe logging (don't log debug cmd)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyla committed Jan 17, 2025
1 parent 364688d commit f65a563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.hs
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,10 @@ commandHandler appState requestPipe responsePipe =
logError appState $ "Invalid command pipe request: " <> show requestLine <> "\nError: " <> show err
B8.hPutStrLn responsePipe "exit 1"
Right cmd -> do
logDebug appState $ "Running cmdpipe command: " <> show cmd
m_result <- case cmd of

"snapshot":sargs -> do
logDebug appState $ "Running cmdpipe command: " <> show cmd
case SnapshotCliArgs.parse sargs of
Left err -> do
logError appState $ "snapshot: " <> toText err
Expand Down

0 comments on commit f65a563

Please sign in to comment.