| @@ -47,8 +47,8 @@ | ||
| 47 | 47 | { |
| 48 | 48 | try { |
| 49 | 49 | return $this->app[$this->key($key)]; |
| 50 | 50 | } catch(\Exception $e) { |
| 51 | - throw new \Exception("The '$key' doesn't exist in FluentBoardsApi."); | |
| 51 | + throw new \Exception(esc_html(sprintf("The '%s' doesn't exist in FluentBoardsApi.", $key))); | |
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | } |