replaced trigger_error calls by Logger methods
This commit is contained in:
1 parent
53ccd70b45
commit
c246568f95
9 files changed
+33
-30
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace ManiaControl\Utils;
|
||||
|
||||
use ManiaControl\Logger;
|
||||
|
||||
/**
|
||||
* Class offering Methods to format Texts and Values
|
||||
*
|
||||
@@ -153,7 +155,7 @@ abstract class Formatter {
|
||||
return $nations[$country];
|
||||
}
|
||||
if ($country) {
|
||||
trigger_error("Couldn't map Country: '{$country}'!");
|
||||
Logger::logWarning("Couldn't map Country: '{$country}'!");
|
||||
}
|
||||
return 'OTH';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user