Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0d1821

Browse files
debug log
1 parent7c8a285 commita0d1821

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎daisy_sequence/js/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ window.onload = function(e){
149149
daisy.add_event_listener_current_doc_change(callback_current_doc_change);
150150

151151
if(null!==arg.open_filepath){
152+
console.log("open_filepath:",arg.open_filepath);
153+
152154
leterrs_=[];
153155
letdoc_id=daisy.open_doc_from_path(arg.open_filepath,errs_);
154156
for(leti=0;i<errs_.length;i++){
@@ -163,6 +165,11 @@ window.onload = function(e){
163165
}
164166

165167
if(null!==arg.export_filepath){
168+
if(typeofarg.export_filepath!=='string'){
169+
process.stderr.write(sprintf("can not open source file (internal error) `%s`.\n",arg.open_filepath));
170+
app.exit(1);
171+
}
172+
166173
constdoc=daisy.get_current_doc();
167174
if(null===doc){
168175
process.stderr.write(sprintf("can not open source file `%s`.\n",arg.open_filepath));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp