diff options
| author | Juan Linietsky | 2016-05-22 19:28:37 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-22 19:29:06 -0300 |
| commit | b2a4908e9cc802a838a67f92dd66a17d3894c619 (patch) | |
| tree | c1980369034a13728295f53f1f737b9fa7d174f5 /core/object.cpp | |
| parent | ec7c36aa3eccaa1bb26c119041fd6c9459396a1c (diff) | |
| download | godot-b2a4908e9cc802a838a67f92dd66a17d3894c619.tar.gz godot-b2a4908e9cc802a838a67f92dd66a17d3894c619.tar.zst godot-b2a4908e9cc802a838a67f92dd66a17d3894c619.zip | |
Diffstat (limited to 'core/object.cpp')
| -rw-r--r-- | core/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp index 7f4db7c8b..3cfc0329b 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1396,7 +1396,7 @@ Error Object::connect(const StringName& p_signal, Object *p_to_object, const Str signal_is_valid=true; if (!signal_is_valid) { - ERR_EXPLAIN("Attempt to connect nonexistent signal '"+p_signal+"' to method '"+p_to_method+"'"); + ERR_EXPLAIN("In Object of type '"+String(get_type())+"': Attempt to connect nonexistent signal '"+p_signal+"' to method '"+p_to_object->get_type()+"."+p_to_method+"'"); ERR_FAIL_COND_V(!signal_is_valid,ERR_INVALID_PARAMETER); } signal_map[p_signal]=Signal(); |
