summaryrefslogtreecommitdiffstats
path: root/lib/evendoors
diff options
context:
space:
mode:
Diffstat (limited to 'lib/evendoors')
-rw-r--r--lib/evendoors/door.rb2
-rw-r--r--lib/evendoors/particle.rb2
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