Skip to content

Commit

Permalink
fix(job queue): better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Realtin committed Jul 25, 2017
1 parent 3963a07 commit 869766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ require('./lib/rollbar')
if (!queueId) {
const login = _.get(data, 'repository.owner.name')
try {
if (!login) throw new Error('can not identify job owner')
if (!login) throw new Error(`can not identify job owner of ${data.name}`)

const {installations} = await dbs()
queueId = _.get(await installations.query('by_login', {
Expand Down

0 comments on commit 869766d

Please sign in to comment.