[sledge] Add handler for Ctrl-C

Summary: so that we get a backtrace.

Reviewed By: da319

Differential Revision: D24746240

fbshipit-source-id: b76be5a82
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent dc16825ba7
commit 8dc7635251

@ -271,6 +271,8 @@ let readme () =
;; ;;
Printexc.record_backtrace Version.debug Printexc.record_backtrace Version.debug
;;
Stdlib.Sys.catch_break true
;; ;;
Command.run ~version:Version.version ~build_info:Version.build_info Command.run ~version:Version.version ~build_info:Version.build_info

Loading…
Cancel
Save