One of the most common pieces of aquarium equipment to develop a leak is the canister filter.
An easy way to catch a leak before it can cause damage to your floors is to install a water alarm.
Place the canister filter in a shallow container along with a water alarm with the metal contacts down. This will alert you if the filter begins to leak and water begins to fill the container.
You can also place the container and alarm under other areas of leak potential such as bulk heads and HOB filters. An alarm without a container can be placed underneath the aquarium to help catch tank leaks early.