workspace: Downgrade abort() to a warning when getting index
Instead of crashing on invalid input, just log a warning and return -1. This will hopefully result in less abort():y behavior with missbehaving Javascript code.
Related: gnome-shell#4203
Instead of crashing on invalid input, just log a warning and return -1. This will hopefully result in less abort():y behavior with missbehaving Javascript code.
Related: gnome-shell#4203