fixed plugin name output on load error

This commit is contained in:
Andreas Gohr 2020-08-13 20:32:17 +02:00
parent 51c1fbb36b
commit 697ca7e2e1
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ function load_autoload($name){
try {
require $plg;
} catch (\Throwable $e) {
\dokuwiki\ErrorHandler::showExceptionMsg($e, "Error loading plugin ${$m[2]}");
\dokuwiki\ErrorHandler::showExceptionMsg($e, "Error loading plugin {$m[2]}");
}
}
return true;