Update BaseDatabase.php

Do not send output to /dev/null because on error the RuntimeException will be empty