Skip to content

Commit

Permalink
Merge pull request #712 from jumpserver/dev
Browse files Browse the repository at this point in the history
v2.27.0
  • Loading branch information
BaiJiangJie committed Oct 20, 2022
2 parents 69b889d + e8d5b9a commit 67422df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/services/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ export class AppService {
} else {
data['assetId'] = view.node.id;
}
return this._http.getSmartEndpoint(data, protocol);
const res = this._http.getSmartEndpoint(data, protocol);
res.catch((err) => { alert(err.error.detail); });
return res;
}
}

0 comments on commit 67422df

Please sign in to comment.