Skip to content

Commit 3ce8032

Browse files
fix: remove newline from error message
1 parent d9a8900 commit 3ce8032

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/SearchAPI/application/asf_opts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ async def process_search_request(request: Request) -> SearchOptsModel:
184184
raise ValueError(
185185
(
186186
'SearchAPI no longer supports unbounded searches with expected results over 2000, '
187-
'please use the asf-search python module for long-lived searches or set `maxResults` to 2000 or less.'
188-
'\nTo have SearchAPI automatically generate a python script for the equivalent search to your SearchAPI query '
187+
'please use the asf-search python module for long-lived searches or set `maxResults` to 2000 or less. '
188+
'To have SearchAPI automatically generate a python script for the equivalent search to your SearchAPI query '
189189
'set `output=python`'
190190
)
191191
)

0 commit comments

Comments
 (0)