When rethrowing an exception, only include the message

This commit is contained in:
Deon George 2023-12-16 23:59:19 +11:00
parent 7b9ab388d8
commit e1c9fa12aa

View File

@ -211,7 +211,7 @@ class Tic extends FTNBase
} catch (ModelNotFoundException $e) {
// Rethrow this as No File Area
throw new NoFileAreaException($e);
throw new NoFileAreaException($e->getMessage());
}
break;