mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Enable PhutilModuleLinter to recover more gracefully from broken modules.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
4818892841
commit
746768e779
1 changed files with 4 additions and 0 deletions
|
@ -249,6 +249,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
|
||||||
$loaded = true;
|
$loaded = true;
|
||||||
} catch (PhutilMissingSymbolException $ex) {
|
} catch (PhutilMissingSymbolException $ex) {
|
||||||
$loaded = false;
|
$loaded = false;
|
||||||
|
} catch (PhutilBootloaderException $ex) {
|
||||||
|
$loaded = false;
|
||||||
}
|
}
|
||||||
if ($loaded) {
|
if ($loaded) {
|
||||||
$resolvable[] = $message;
|
$resolvable[] = $message;
|
||||||
|
@ -290,6 +292,8 @@ class ArcanistPhutilModuleLinter extends ArcanistLinter {
|
||||||
$loaded = true;
|
$loaded = true;
|
||||||
} catch (PhutilMissingSymbolException $ex) {
|
} catch (PhutilMissingSymbolException $ex) {
|
||||||
$loaded = false;
|
$loaded = false;
|
||||||
|
} catch (PhutilBootloaderException $ex) {
|
||||||
|
$loaded = false;
|
||||||
}
|
}
|
||||||
if ($loaded) {
|
if ($loaded) {
|
||||||
$resolvable[] = $message;
|
$resolvable[] = $message;
|
||||||
|
|
Loading…
Reference in a new issue