[/musicextras/musicextras: changeset 9 Zachary P. Landau **20040829021527 Improved error handling a bit. Should abort on exception if debugging is enabled. ] { hunk ./lib/musicextras/dataaccessor.rb 171 + Thread.abort_on_exception = true if @config and @config['debug_level'] > 1 + hunk ./lib/musicextras/dataaccessor.rb 191 - return data unless data == NO_DATA - return nil unless alive + unless data == NO_DATA + debug(1, "Retrieve_data successful") + return data + end + unless alive + debug(1, "Retrieve_data unsuccessful") + return nil + end }