Skip to content

Comments

Remove own default_uncaught_exception_handler#2685

Merged
mergify[bot] merged 2 commits intomasterfrom
gabor/exn
Jul 28, 2021
Merged

Remove own default_uncaught_exception_handler#2685
mergify[bot] merged 2 commits intomasterfrom
gabor/exn

Conversation

@ggreif
Copy link
Contributor

@ggreif ggreif commented Jul 28, 2021

we have OCaml 4.12 now, so Printexc provides it

we have OCaml 12 now, so Printexc provides it
@ggreif ggreif added the automerge-squash When ready, merge (using squash) label Jul 28, 2021
@dfinity-ci
Copy link

This PR does not affect the produced WebAssembly code.

@osa1
Copy link
Contributor

osa1 commented Jul 28, 2021

Does this change the error output in any way?

@ggreif
Copy link
Contributor Author

ggreif commented Jul 28, 2021

Does this change the error output in any way?

No. But I so far haven't figured out how to get backtraces, so that's a point that remains to be clarified.

@osa1
Copy link
Contributor

osa1 commented Jul 28, 2021

so far haven't figured out how to get backtraces

I think you need OCAMLRUNPARAM=b before running.

LGTM but if this changes the output it would be good to show before and after in the commit message.

@mergify mergify bot merged commit 004b1f6 into master Jul 28, 2021
@mergify mergify bot deleted the gabor/exn branch July 28, 2021 08:51
@mergify mergify bot removed the automerge-squash When ready, merge (using squash) label Jul 28, 2021
@ggreif
Copy link
Contributor Author

ggreif commented Jul 28, 2021

The function replacing ours is https://github.com/ocaml/ocaml/pull/9263/files#diff-5fa438e4a308c8dfd6c75768649ae4fe17b72159d89f5ae3e7319c8eeaf2b790R273 and looks exactly the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants