1
0
Fork 0
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:
epriestley 2011-01-17 20:18:42 -08:00
parent 4818892841
commit 746768e779

View file

@ -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;