Permalink
Browse files

Add mdi icon

  • Loading branch information...
1 parent 8499c69 commit 5425ab54f613d166c9b794f7800c104f6f231dfa @cdujeu cdujeu committed Sep 1, 2016
@@ -283,17 +283,14 @@ private function _sendMessage(ContextInterface $ctx, $topic, $content) {
if(!empty($host) && !empty($port)){
if(empty($this->nsqClient)){
-
// Publish on NSQ
$this->nsqClient = new nsqphp;
$this->nsqClient->publishTo(join(":", [$host, $port]), 1);
-
- $this->logInfo("core.mq", "Published to NSQ " .$topic." :". $content);
}
-
set_error_handler(function ($errNo, $str) use (&$msg) { $msg = $str; });
try {
$this->nsqClient->publish($topic, new Message($content));
+ $this->logDebug("core.mq", "Published to NSQ " .$topic." :". $content);
} catch (\Exception $e) {
$this->logError("core.mq", "sendMessage " . $topic, $e->getMessage());
Oops, something went wrong.
@@ -170,3 +170,7 @@
.mdi-qrcode-scan:before {
content: "\f522";
}
+
+.mdi-server-plus:before {
+ content: "\f57f";
+}

0 comments on commit 5425ab5

Please sign in to comment.