@@ -115,6 +115,7 @@ public void createProject(Path dir, ResourceType type) {
115115 updateHistory ();
116116 updateUI ();
117117 } catch (IOException e ) {
118+ e .printStackTrace ();
118119 showError (MessageBundle .get ("resources.import.error.single" ));
119120 }
120121 }
@@ -154,6 +155,7 @@ public void importProject(Path dir, boolean showEmptyProjectError) {
154155 setupResource (resource );
155156 project .addResource (resource );
156157 } catch (IOException e ) {
158+ e .printStackTrace ();
157159 showError (MessageBundle .get ("resources.import.error.single" , resource .getPath ().toString ()));
158160 }
159161 });
@@ -166,6 +168,7 @@ public void importProject(Path dir, boolean showEmptyProjectError) {
166168 updateHistory ();
167169 updateUI ();
168170 } catch (IOException e ) {
171+ e .printStackTrace ();
169172 showError (MessageBundle .get ("resources.import.error.multiple" ));
170173 }
171174 }
@@ -177,6 +180,7 @@ public void saveProject() {
177180 try {
178181 Resources .write (resource , !project .isMinifyResources ());
179182 } catch (IOException e ) {
183+ e .printStackTrace ();
180184 error = true ;
181185 showError (MessageBundle .get ("resources.write.error.single" , resource .getPath ().toString ()));
182186 }
@@ -318,6 +322,7 @@ public void showAddLocaleDialog() {
318322 project .addResource (resource );
319323 updateUI ();
320324 } catch (IOException e ) {
325+ e .printStackTrace ();
321326 showError (MessageBundle .get ("dialogs.locale.add.error.create" ));
322327 }
323328 }
@@ -506,7 +511,6 @@ public void launch() {
506511 if (project == null ) {
507512 updateHistory ();
508513 }
509-
510514 if (project != null && project .hasResources ()) {
511515 // Restore last expanded nodes
512516 List <String > expandedKeys = settings .getLastExpandedNodes ();
0 commit comments