aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-04-07 23:12:39 -0400
committerM.Dent <dentm42@dm42.net>2018-04-07 23:12:39 -0400
commita0cba6564f5b42c0882ef1c6837677544d1ffb9f (patch)
tree7fe3387d8f46e117eb88c37e474f139a435e727f /include/plugin.php
parent35b4f0a863421fdfe27b6371516dc37805583317 (diff)
downloadvolse-hubzilla-a0cba6564f5b42c0882ef1c6837677544d1ffb9f.tar.gz
volse-hubzilla-a0cba6564f5b42c0882ef1c6837677544d1ffb9f.tar.bz2
volse-hubzilla-a0cba6564f5b42c0882ef1c6837677544d1ffb9f.zip
Uninstall plugin on Exception on load.
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-xinclude/plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index 2ef33e6fa..2084f9107 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -128,7 +128,7 @@ function load_plugin($plugin) {
try {
$func();
} catch (Exception $e) {
- handleerrors_plugin($plugin,"Unable to load.","FAILED loading : ".$e->getMessage());
+ handleerrors_plugin($plugin,"Unable to load.","FAILED loading : ".$e->getMessage(),true);
return;
}