Fix exception on bad plugin load

This commit is contained in:
Brion Vibber 2010-02-17 10:12:37 -08:00
parent 8e07926a9c
commit e8275aa60a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class StatusNet
}
}
if (!class_exists($pluginclass)) {
throw new ServerException(500, "Plugin $name not found.");
throw new ServerException("Plugin $name not found.", 500);
}
}