|
|
@@ -212,7 +212,7 @@ abstract class WebController extends BaseController |
|
|
if ($e->getStatusCode() === 401) { |
|
|
if ($e->getStatusCode() === 401) { |
|
|
return $this->unAuthorizedResponse(); |
|
|
return $this->unAuthorizedResponse(); |
|
|
} |
|
|
} |
|
|
throw e; |
|
|
|
|
|
|
|
|
throw $e; |
|
|
} catch (Exception $e) { |
|
|
} catch (Exception $e) { |
|
|
$this->transaction->rollBack(); |
|
|
$this->transaction->rollBack(); |
|
|
Slack::commit(); |
|
|
Slack::commit(); |
|
|
|