File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ function bugReport(opt, ME)
1010
1111 % (C) Copyright 2022 bidspm developers
1212
13+ opt.verbosity = 3 ;
1314 if nargin < 1
14- opt.verbosity = 2 ;
1515 opt.dryRun = false ;
1616 end
1717
@@ -23,7 +23,14 @@ function bugReport(opt, ME)
2323 json.ME = ME ;
2424 end
2525
26- logFile = sprintf(' error_%s .log' , timeStamp());
26+ logFile = spm_file( sprintf(' error_%s .log' , timeStamp()), ' cpath ' );
2727 bids .util .jsonwrite(logFile , json );
28+ printToScreen(sprintf([' \n ERROR LOG SAVED:\n\t%s\n ' , ...
29+ ' Use it when opening an issue <a href="%s ">%s </a>.\n ' ], ...
30+ logFile , ...
31+ [returnRepoURL() ' /issues/new/choose' ], ...
32+ [returnRepoURL() ' /issues/new/choose' ]), ...
33+ opt , ...
34+ ' format' , ' red' );
2835
2936end
You can’t perform that action at this time.
0 commit comments