Fixed #4420 / Fixed #4418 / Fixed #4416

This commit is contained in:
Anuken
2021-01-23 10:33:06 -05:00
parent 792fdef95d
commit ad4650f408
4 changed files with 5 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ public class DesktopLauncher extends ClientLauncher{
steamError = e;
loadError = true;
Log.err(e);
try(OutputStream s = new FileOutputStream(new File("steam-error-log-" + System.nanoTime() + ".txt"))){
try(OutputStream s = new FileOutputStream("steam-error-log-" + System.nanoTime() + ".txt")){
String log = Strings.neatError(e);
s.write(log.getBytes());
}catch(Exception e2){