79524257

Date: 2025-03-20 23:14:00
Score: 0.5
Natty:
Report link

Yes, you should awlays wrap a DB::transaction in try..catch if you want to catch the exception.

DB::transaction will only handle database rollback, but it will not do any exception handling.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mike