Unverified Commit 8b4c42b1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

geolocation: actually show backend errors in frontend

parent 8400a356
Loading
Loading
Loading
Loading
+16 −8
Original line number Diff line number Diff line
@@ -627,8 +627,10 @@ sub geolocation {
				$self->render(
					json => {
						candidates => [],
						warning    => $err,
					}
						error      => $err,
					},

					#status => 502,
				);
			}
		)->wait;
@@ -671,8 +673,10 @@ sub geolocation {
				$self->render(
					json => {
						candidates => [],
						warning    => $err,
					}
						error      => $err,
					},

					#status => 502
				);
			}
		)->wait;
@@ -722,8 +726,10 @@ sub geolocation {
				$self->render(
					json => {
						candidates => [],
						warning    => $err,
					}
						error      => $err,
					},

					#status => 502
				);
			}
		)->wait;
@@ -771,8 +777,10 @@ sub geolocation {
				$self->render(
					json => {
						candidates => [],
						warning    => $err,
					}
						error      => $err,
					},

					#status => 502
				);
			}
		)->wait;