When rethrowing an exception, only include the message
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user