Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use raise_with_backtrace in with_transaction
This stores the original exception backtrace and re-raises after the async rollback (which destroys the global stack trace). Fixes with_transaction losing stack traces finally.
- Loading branch information
1 parent
2f29549
commit 7eb0f4c
Showing
6 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ depends: [ | |
"ounit" {test} | ||
] | ||
|
||
available: [ocaml-version >= "4.04.2"] | ||
available: [ocaml-version >= "4.05.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ depends: [ | |
"ounit" {test} | ||
] | ||
|
||
available: [ocaml-version >= "4.04.2"] | ||
available: [ocaml-version >= "4.05.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ depends: [ | |
"ounit" {test} | ||
] | ||
|
||
available: [ocaml-version >= "4.04.2"] | ||
available: [ocaml-version >= "4.05.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ depends: [ | |
"ounit" {test} | ||
] | ||
|
||
available: [ocaml-version >= "4.04.2"] | ||
available: [ocaml-version >= "4.05.0"] |