Created
September 1, 2017 15:47
-
-
Save dclarke-modus/34964264fcf7cf87d0f802e2f111300f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
try { | |
\DB::beginTransaction(); | |
$service->a(); //FAILS HERE, THROWS ERROR REGARDING LOCK ON MY TABLE. | |
\DB::commit(); | |
} catch (\Exception $e) { | |
} finally { | |
\DB::rollback(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment