When rethrowing an exception, only include the message
This commit is contained in:
parent
7b9ab388d8
commit
e1c9fa12aa
@ -211,7 +211,7 @@ class Tic extends FTNBase
|
|||||||
|
|
||||||
} catch (ModelNotFoundException $e) {
|
} catch (ModelNotFoundException $e) {
|
||||||
// Rethrow this as No File Area
|
// Rethrow this as No File Area
|
||||||
throw new NoFileAreaException($e);
|
throw new NoFileAreaException($e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user