|
|
@@ -726,7 +726,7 @@ class ApproachDeclarationForm extends Model
|
|
|
return $decResult;
|
|
|
} catch (\Exception $e) {
|
|
|
// throw new Exception(Form::formatErrorsForApi($e->getFile() . ' ' . $e->getLine() . ' ' . $e->getMessage()));
|
|
|
- throw new Exception(Form::formatErrorsForApi($e->getMessage()));
|
|
|
+ throw new Exception(Form::formatErrorsForApi($e->getMessage() . ', ' . $e->getFile() . '(' . $e->getLine() . ')'));
|
|
|
}
|
|
|
}
|
|
|
return true;
|