Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
c5343cc8
Commit
c5343cc8
authored
May 19, 2011
by
François Bobot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replayer : print exceptions with exn_printer
parent
82f6fd2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/ide/replay.ml
src/ide/replay.ml
+5
-4
No files found.
src/ide/replay.ml
View file @
c5343cc8
...
...
@@ -245,10 +245,11 @@ let main () =
M
.
check_all
~
callback
;
try
main_loop
()
with
Exit
->
eprintf
"main replayer exited unexpectedly@."
with
e
->
eprintf
"Error while opening session with database '%s'@."
project_dir
;
with
e
when
not
(
Debug
.
test_flag
Debug
.
stack_trace
)
->
eprintf
"Error while opening session with database '%s' : %a@."
project_dir
Exn_printer
.
exn_printer
e
;
eprintf
"Aborting...@."
;
raise
e
exit
1
let
()
=
Printexc
.
catch
main
()
let
()
=
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment