null+****@clear*****
null+****@clear*****
Fri Mar 2 16:39:40 JST 2012
SUZUKI Miho 2012-03-02 16:39:40 +0900 (Fri, 02 Mar 2012) New Revision: 668606b03a06bd03b721bfc71e901e690b3d7a49 Merged c1d041f: Merge pull request #54 from logaling/fix-loga-config Log: change error message Modified files: lib/logaling/repository.rb Modified: lib/logaling/repository.rb (+2 -2) =================================================================== --- lib/logaling/repository.rb 2012-02-27 18:22:06 +0900 (ed8a113) +++ lib/logaling/repository.rb 2012-03-02 16:39:40 +0900 (69c223f) @@ -33,7 +33,7 @@ module Logaling raise GlossaryAlreadyRegistered, register_name end rescue - raise Logaling::CommandFailed, "Register failed." + raise Logaling::CommandFailed, "Failed register #{register_name} to #{logaling_projects_path}." end def unregister(register_name) @@ -51,7 +51,7 @@ module Logaling glossary.import end rescue - raise Logaling::CommandFailed, "Import failed." + raise Logaling::CommandFailed, "Failed import #{glossary.class.name} to #{cache_path}." end def lookup(source_term, glossary_source, dictionary=false)