|
|
@@ -29,7 +29,7 @@ module.exports = Router = {
|
|
|
_handleError(callback, error, client, method, attrs) {
|
|
|
attrs = attrs || {}
|
|
|
for (const key of ['project_id', 'user_id']) {
|
|
|
- attrs[key] = client.ol_context[key]
|
|
|
+ attrs[key] = attrs[key] || client.ol_context[key]
|
|
|
}
|
|
|
attrs.client_id = client.id
|
|
|
attrs.err = error
|