Skip to content

Commit 304469e

Browse files
committed
self review
1 parent b7bb0b8 commit 304469e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

models/BaseDoc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ public function __construct($parent = null, $reflector = null, $context = null,
298298
'file' => $this->sourceFile,
299299
'message' => 'Exception: ' . $e->getMessage(),
300300
];
301+
} else {
302+
throw $e;
301303
}
302304
}
303305
} elseif ($tag instanceof InvalidTag && $context !== null) {

0 commit comments

Comments
 (0)