Skip to content

Commit 993ae0a

Browse files
authored
use auth'd endpoint to test connection (#42)
1 parent fff2284 commit 993ae0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datasource.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,11 @@ export class DataSource extends DataSourceWithBackend<MyQuery, MyDataSourceOptio
233233
}
234234

235235
async testDatasource() {
236-
const errorMessageBase = 'Parseable server is not reachable';
236+
const errorMessageBase = 'Parseable server is not reachable. Verify that your basic authentication credentials are accurate.';
237237
try {
238238
const response = await lastValueFrom(
239239
this.doFetch({
240-
url: this.url + '/api/v1/readiness',
240+
url: this.url + '/api/v1/logstream',
241241
method: 'GET',
242242
}).pipe(map((response) => response))
243243
);

0 commit comments

Comments
 (0)