OSDN Git Service
(root)
/
bytom
/
Byone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc883a4
)
catch error
author
xuhongxin
<xuhongxin@luojilab.com>
Sat, 25 Aug 2018 11:47:28 +0000
(19:47 +0800)
committer
xuhongxin
<xuhongxin@luojilab.com>
Sat, 25 Aug 2018 11:47:28 +0000
(19:47 +0800)
src/content/index.js
patch
|
blob
|
history
diff --git
a/src/content/index.js
b/src/content/index.js
index
6562308
..
37a5329
100644
(file)
--- a/
src/content/index.js
+++ b/
src/content/index.js
@@
-12,6
+12,8
@@
const client = new bytom(url, accessToken)
const keyPromise = client.keys.create('alias', 'password')
keyPromise.then(key => {
console.log(key)
+}).catch(function(error){
+ console.log(error)
})
//accounts list