Commit 6d9dc4cfb38f7168ba570faee1adeb5bd822aef9
1 parent
a77cdbac
Exists in
master
and in
1 other branch
V. 0.5.3 - Modificada mensagem de erro para verificar por que o banco não conect…
…a em produção, somente em desenvolvimento.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
services/databases.js
... | ... | @@ -19,6 +19,7 @@ global.poolPg.connect(function(err, client, done){ |
19 | 19 | global.poolMsql = new ms_sql.ConnectionPool(keys.msql, function(err) { |
20 | 20 | if (err) { |
21 | 21 | console.log("Não conectou com SQLServer:\n" + err); |
22 | + console.error("String conexão: " + keys.msql) | |
22 | 23 | } else{ |
23 | 24 | console.log("Connection estabilished with SQLServer"); |
24 | 25 | } | ... | ... |