Skip to content

Commit

Permalink
Removes stupid log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gisson committed Dec 7, 2017
1 parent 573f67e commit b4a69f4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package a16.yarfs.client.presentation;

import a16.yarfs.client.ClientConstants;
import a16.yarfs.client.LocalFileManager;
import a16.yarfs.client.SecureLocalFileManager;
import a16.yarfs.client.service.exception.LogoutServiceException;
import a16.yarfs.client.service.exception.ServiceExecutionException;
import a16.yarfs.client.service.user.LogoutService;
Expand Down Expand Up @@ -28,14 +30,16 @@ void execute(String[] args) {
LogoutService service = new LogoutService(ClientConstants.baseServerUrl, sessid);
service.execute();
shell.setActiveSessionid(null);
LocalFileManager.getManager().selfDestruct();
SecureLocalFileManager.getManager().selfDestruct();
shell.setActiveUser("");
shell.println("Logout successful");


}catch (MalformedURLException e) {
e.printStackTrace();
}catch (LogoutServiceException e) {
shell.println("Error logging out! KERNEL PANIC!");
shell.println("Error logging out!");
} catch (ServiceExecutionException e) {
shell.println("error: " + e.getMessage());
}
Expand Down

0 comments on commit b4a69f4

Please sign in to comment.