|
@@ -103,7 +103,7 @@ |
|
|
block discarded – undo |
|
103
|
103
|
$result = new CheckResult(CheckResult::STATUS_SUCCESS, 'Check successful.'); |
|
104
|
104
|
} |
|
105
|
105
|
} catch (\Exception $e) { |
|
106
|
|
- $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occurred: ' . $e->getMessage()); |
|
|
106
|
+ $result = new CheckResult(CheckResult::STATUS_FAILURE, 'An error occurred: '.$e->getMessage()); |
|
107
|
107
|
$this->eventDispatcher->simpleNotify('Scanner.CheckResponse.Rule.Error', array('checkResult' => $result, 'ruleName' => $name, 'exception' => $e)); |
|
108
|
108
|
} |
|
109
|
109
|
|
Please login to merge, or discard this patch.