diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-12 23:42:05 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-12 23:42:05 +0200 |
commit | bd77f096ee70c011f27afa59817db8f7c4b29977 (patch) | |
tree | 5b92154d5fa6b0e4e22bcd5031193b54c0afcfab /lib/evendoors | |
parent | 54d01433015c886ad188f456ed5b10b0184179ec (diff) | |
download | edoors-ruby-bd77f096ee70c011f27afa59817db8f7c4b29977.zip edoors-ruby-bd77f096ee70c011f27afa59817db8f7c4b29977.tar.gz |
ERROR_FIELD->FIELD_ERROR_MSG
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/door.rb | 2 | ||||
-rw-r--r-- | lib/evendoors/particle.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/evendoors/door.rb b/lib/evendoors/door.rb index 4bc1465..8bb19f2 100644 --- a/lib/evendoors/door.rb +++ b/lib/evendoors/door.rb @@ -53,7 +53,7 @@ module EvenDoors # def garbage puts " * #{path} didn't give back #{p}" if @spin.debug_errors - puts "\t#{@saved.data EvenDoors::ERROR_FIELD}" if @saved.action==EvenDoors::ACT_ERROR + puts "\t#{@saved.data EvenDoors::FIELD_ERROR_MSG}" if @saved.action==EvenDoors::ACT_ERROR release_p @saved @saved = nil end diff --git a/lib/evendoors/particle.rb b/lib/evendoors/particle.rb index 2d024fd..b1840d6 100644 --- a/lib/evendoors/particle.rb +++ b/lib/evendoors/particle.rb @@ -135,7 +135,7 @@ module EvenDoors def error! e, dst=nil @action = EvenDoors::ACT_ERROR @dst = dst||@src - @payload[EvenDoors::ERROR_FIELD]=e + @payload[EvenDoors::FIELD_ERROR_MSG]=e end # def apply_link! lnk |