Skip to content

Commit e711c3f

Browse files
committed
cli: Log to stderr on failure
1 parent d2846c5 commit e711c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdb/Development/Debug/Interactive.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ runIDM logger entryPoint entryFile entryArgs extraGhcArgs act = do
6969
(entryFile, entryPoint, entryArgs) Nothing
7070
where
7171
exitWithMsg txt = do
72-
putStrLn txt
72+
hPutStrLn stderr txt
7373
exitWith (ExitFailure 33)
7474

7575
-- completeF = completeWordWithPrev Nothing filenameWordBreakChars $

0 commit comments

Comments
 (0)