Changed warn to fatal to prevent db corruption
This commit is contained in:
parent
0b81da7433
commit
e9f74cdc0f
2 changed files with 4 additions and 2 deletions
|
|
@ -184,7 +184,7 @@ sub makeUrlCompliant {
|
|||
WebGUI::ErrorHandler::warn($cmd." failed to compile because ".$@) if ($@);
|
||||
$cmd = $cmd."::makeUrlCompliant";
|
||||
my $output = eval{&$cmd($url)};
|
||||
WebGUI::ErrorHandler::warn("Couldn't execute ".$cmd." because ".$@) if ($@);
|
||||
WebGUI::ErrorHandler::fatal("Couldn't execute ".$cmd." because ".$@.". Maybe your languagepack misses the makeUrlCompliant method?") if ($@);
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue