Log Magma runtime exception as warns
Log illegal argument exceptions as warns
Allow selecting a different sql database usage