Wrapped one sample function up in util.errors_logged()
Added error logging throughout Jekit app