Skip to content

Commit c152118

Browse files
committed
Update ConfigException.php
1 parent 59ca39e commit c152118

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Kernel/ConfigException.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function get($code = 1)
2525
{
2626
$header = "[FloatPHPException][{$code}]";
2727
$message = "{$header} Error : {$this->getError($code)}";
28-
$message .= "<br>{$header} Line : {$this->getLine()} in {$this->getFile()}";
2928
if ( $this->getMessage() ) {
3029
$message .= " ({$this->getMessage()})";
3130
}
@@ -43,6 +42,9 @@ private function getError($code)
4342
case 1:
4443
return 'Invalid Application Configuration';
4544
break;
45+
case 2:
46+
return 'Invalid Module Configuration';
47+
break;
4648
}
4749
return 'Unknown error';
4850
}

0 commit comments

Comments
 (0)