Skip to content

Commit f32865c

Browse files
committed
Fix #28
1 parent 96a6194 commit f32865c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kshell/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<archive>
127127
<manifest>
128128
<!-- addClasspath>true</addClasspath> -->
129-
<mainClass>sparklin.repl.Main</mainClass>
129+
<mainClass>com.github.khud.sparklin.kshell.KotlinShell</mainClass>
130130
</manifest>
131131
</archive>
132132
</configuration>

kshell/src/main/kotlin/com/github/khud/sparklin/kshell/KShell.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ open class KShell(val disposable: Disposable,
192192
} }
193193
catch (e: UserInterruptException) { if (settings.overrideSignals) state.lineIndex.getAndIncrement() else break }
194194
catch (ee: EndOfFileException) { break }
195+
catch (ex: Exception) { ex.printStackTrace() }
195196
} while (true)
196197

197198
cleanUp()

0 commit comments

Comments
 (0)