pw_doctor: Improve error message
Change-Id: I0661086cdfba9f78b118834b6df9f364f9cd225c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/38200
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_doctor/py/pw_doctor/doctor.py b/pw_doctor/py/pw_doctor/doctor.py
index e1ba7ad..f2af518 100755
--- a/pw_doctor/py/pw_doctor/doctor.py
+++ b/pw_doctor/py/pw_doctor/doctor.py
@@ -350,6 +350,11 @@
if doctor.failures:
doctor.log.info('Failed checks: %s', ', '.join(doctor.failures))
+ doctor.log.info(
+ "Your environment setup has completed, but something isn't right "
+ 'and some things may not work correctly. You may continue with '
+ 'development, but please seek support at '
+ 'https://bugs.pigweed.dev/ or by reaching out to your team.')
else:
doctor.log.info('Environment passes all checks!')
return len(doctor.failures)