Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
cf7072d3
Commit
cf7072d3
authored
Jan 22, 2019
by
Madhur Tandon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used console.error to make the error of ABI mismatch appear in the logs
parent
37b09135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/pyodide.js
src/pyodide.js
+4
-1
No files found.
src/pyodide.js
View file @
cf7072d3
...
...
@@ -292,7 +292,10 @@ var languagePluginLoader = new Promise((resolve, reject) => {
Module
.
checkABI
=
function
(
ABI_number
)
{
if
(
ABI_number
!==
parseInt
(
'
{{ABI}}
'
))
{
throw
`ABI numbers differ. Expected {{ABI}}, got
${
ABI_number
}
`
;
var
ABI_mismatch_exception
=
`ABI numbers differ. Expected {{ABI}}, got
${
ABI_number
}
`
;
console
.
error
(
ABI_mismatch_exception
);
throw
ABI_mismatch_exception
;
}
return
true
;
};
...
...
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