Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Logs problem to console

AuthorDaveJarvis <email>
Date2023-08-02 15:07:12 GMT-0700
Commit4c3c342503d63c374d53824f481e627446aadd87
Parent9f0160e
Delta3 lines added, 1 line removed, 2-line increase
src/main/java/com/keenwrite/cmdline/HeadlessApp.java
public void handle( final StatusEvent event ) {
if( !mArgs.quiet() ) {
- System.out.println( event );
+ System.out.println( event.toString() );
+ System.out.println( event.getProblem() );
}
}
/**
* Entry point for running the application in headless mode.
*
* @param args The parsed command-line arguments.
*/
+ @SuppressWarnings( "ConfusingMainMethod" )
public static void main( final Arguments args ) {
new HeadlessApp( args );