### Godot version

v4.1.stable.mono.official [970459615]

### System information

Godot v4.1.stable.mono - macOS 13.4.1 - Vulkan (Mobile) - dedicated AMD Radeon Pro 5300M - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)

### Issue description

When polling for an InputAction that does not exist from C#, Godot produces the following error, which is so long that it is impossible to read on a normal display.
```
E 0:00:01:0823   Godot.NativeInterop.NativeFuncs.generated.cs:345 @ void Godot.NativeInterop.NativeFuncs.godotsharp_method_bind_ptrcall(IntPtr , IntPtr , System.Void** , System.Void* ): The InputMap action "Jump" doesn't exist.
```
The expected error in this case would be something along the lines of
```
Error: The InputMap action "Jump" doesn't exist.
```
But instead this is what the console ends up looking like:
<img width="1037" alt="image" src="https://github.com/godotengine/godot/assets/44267994/a64f7c29-706a-4b91-acab-09bf1ee789e5">


### Steps to reproduce

Poll an Action that does not exist in C#:
```
Input.GetActionStrength(action_name);
```
The resulting error should be very difficult to parse.

### Minimal reproduction project

This is a very simple error to reproduce (simply poll for a nonexistent Action with C#) so I don't think a reproduction project is necessary.
frame_time.items.push_back(item);
			item.name = "Process Time";
			item.total = metric.process_time;
			item.self = item.total;
			item.signature = "process_time";
			frame_time.items.push_back(item);
			item.name = "Physics Frame Time";
			item.total = metric.physics_frame_time;
			item.self = item.total;
			item.signature = "physics_frame_time";
			frame_time.items.push_back(item);
			metric.categories.push_back(frame_time);
		}
		for (int i = 0; i < frame.servers.size(); i++) {
			const ServersDebugger::ServerInfo &srv = frame.servers[i];
			EditorProfiler::Metric::Category c;
			const String name = srv.name;
			c.name = EditorPropertyNameProcessor::get_singleton()->process_name(name, EditorPropertyNameProcessor::STYLE_CAPITALIZED);
			c.items.resize(srv.functions.size());
			c.total_time = 0;
			c.signature = "categ::" + name;
			for (int j = 0; j < srv.functions.size(); j++) {
				EditorProfiler::Metric::Category::Item item;
				item.calls = 1;
				item.line = 0;
				item.name = srv.functions[j].name;
				item.self = srv.functions[j].time;
				item.total = item.self;
				item.signature = "categ::" + name + "::" + item.name;
				item.name = EditorPropertyNameProcessor::get_singleton()->process_name(item.name, EditorPropertyNameProcessor::STYLE_CAPITALIZED);