Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
caf501d8
Commit
caf501d8
authored
Jul 01, 2020
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catch error when activating a plugin
parent
b451f094
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app.js
src/app.js
+5
-1
debugger-tab.js
src/app/tabs/debugger-tab.js
+1
-1
No files found.
src/app.js
View file @
caf501d8
...
@@ -403,7 +403,11 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -403,7 +403,11 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// Set workspace after initial activation
// Set workspace after initial activation
if
(
Array
.
isArray
(
workspace
))
{
if
(
Array
.
isArray
(
workspace
))
{
await
appManager
.
activatePlugin
(
workspace
)
try
{
await
appManager
.
activatePlugin
(
workspace
)
}
catch
(
e
)
{
console
.
error
(
e
)
}
}
else
{
}
else
{
// activate solidity plugin
// activate solidity plugin
appManager
.
ensureActivated
(
'solidity'
)
appManager
.
ensureActivated
(
'solidity'
)
...
...
src/app/tabs/debugger-tab.js
View file @
caf501d8
...
@@ -64,7 +64,7 @@ class DebuggerTab extends ViewPlugin {
...
@@ -64,7 +64,7 @@ class DebuggerTab extends ViewPlugin {
}
}
)
)
this
.
call
(
'manager'
,
'activatePlugin'
,
'source-verification'
)
this
.
call
(
'manager'
,
'activatePlugin'
,
'source-verification'
)
.
catch
(
e
=>
console
.
log
(
e
.
message
))
// this.call('manager', 'activatePlugin', 'udapp')
// this.call('manager', 'activatePlugin', 'udapp')
return
this
.
el
return
this
.
el
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment