pushed
subh05sus/sparkmentis-fork • 1:53 PM - Jul 8, 2026
Centralized the error response logic in the admin and teacher course creation routes by integrating a custom handleError utility. This replaces manual 500 status returns, ensuring consistent and cleaner error reporting across the platform. 
