Use of console.error instead of throw #27
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are a 2 instances, where console.error is used instead of throw. I just noticed in the tests for the file with the encoded filename xlsx.js#L643 will be executed.
How severe is the error? If it's not severe: IE 6 (prob. higher too) doesn't support console(.error) AFAIK so that would throw an exception and be unuseable.
If it's severe, the user should know about it. I'd suggest euther return it in the result, or with a throw.
Actually, both of them should be removed.