[logaling-commit] logaling/logaling-command [master] Objectify exception

Back to archive index

null+****@clear***** null+****@clear*****
Fri Jun 29 11:15:04 JST 2012


SUZUKI Miho	2012-06-29 11:15:04 +0900 (Fri, 29 Jun 2012)

  New Revision: 7c1f26cbaa42bf01e52cd7f2b4cddcaebb2b7faf
  https://github.com/logaling/logaling-command/commit/7c1f26cbaa42bf01e52cd7f2b4cddcaebb2b7faf

  Merged 53b8b7d: Merge pull request #61 from logaling/catch-load-file-exception

  Log:
    Objectify exception

  Modified files:
    lib/logaling/glossary_sources/glossary_yaml_source.rb

  Modified: lib/logaling/glossary_sources/glossary_yaml_source.rb (+1 -1)
===================================================================
--- lib/logaling/glossary_sources/glossary_yaml_source.rb    2012-06-28 18:24:25 +0900 (7650721)
+++ lib/logaling/glossary_sources/glossary_yaml_source.rb    2012-06-29 11:15:04 +0900 (84ddffc)
@@ -29,7 +29,7 @@ module Logaling::GlossarySources
   class GlossaryYamlSource < Base
     def load
       YAML::load_file(source_path) || []
-    rescue
+    rescue TypeError
       []
     end
 
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the logaling-commit mailing list
Back to archive index