Skip to content

Commit

Permalink
fix error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnfeldman committed Mar 31, 2016
1 parent 73d641c commit 14f56e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/agent-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('configured agent/server address', function() {
var config;
before(function(done) {
this.timeout(400000);
configure.configure({ username: user, password: password, org: org, env: env }, () => {
configure.configure({ username: user, password: password, org: org, env: env, error:(msg)=>{done(msg)}}, () => {
edgeConfig.get({ keys: keys, source: configLocations.getSourcePath(org, env) }, (err, configDownload) => {
config = configDownload;
delete config.edgemicro.plugins
Expand Down
2 changes: 1 addition & 1 deletion tests/cli-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('test-cli', function() {
restServer.listen(3000);
before(function(done) {
this.timeout(10000)
configure.configure({ username: user, password: password, org: org, env: env }, () => {
configure.configure({ username: user, password: password, org: org, env: env, error:(msg)=>{done(msg)} }, () => {
// initialize agent
agent.start({ key: key, secret: secret, org: org, env: env },(err,s)=>{
const server = s.gatewayServer;
Expand Down

0 comments on commit 14f56e2

Please sign in to comment.