Slightly better error handling for uploads
This commit is contained in:
parent
aa6f89d920
commit
591f7d59f0
2 changed files with 10 additions and 4 deletions
|
@ -141,7 +141,7 @@ class Application_Model_RabbitMq
|
|||
$channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange);
|
||||
|
||||
$msg = new AMQPMessage($jsonData, array('content_type' => 'text/plain'));
|
||||
|
||||
|
||||
$channel->basic_publish($msg, $exchange);
|
||||
$channel->close();
|
||||
$conn->close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue