Skip to content

Commit 549c69d

Browse files
author
minjk-bl
committed
Add log to file navigation on error
1 parent 0f41de2 commit 549c69d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visualpython/js/com/component/FileNavigation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ define([
259259
if (allowExtensionList.length > 0 && !allowExtensionList.includes(extension)) {
260260
// TODO: alert
261261
//vpCommon.renderAlertModal('Not supported file type');
262+
vpLog.display(VP_LOG_TYPE.ERROR, 'Not supported file type: ' + extension);
262263
return;
263264
}
264265

0 commit comments

Comments
 (0)